+Fri Jul 10 13:29:53 1998 Tim Janik <timj@gtk.org>
+
+ * gtk/gtkcontainer.c:
+ (gtk_container_arg_get):
+ (gtk_container_arg_set):
+ * gtk/gtkobject.c:
+ (gtk_object_arg_set):
+ (gtk_object_arg_get):
+ strictly check for the associated get/set arg functions. if an
+ arg is readable or writable, the associated class functions *must*
+ be provided.
+
Fri Jul 10 09:37:50 1998 Tim Janik <timj@gtk.org>
* gtk/gtkaccellabel.c (gtk_accel_label_accelerator_width): only take the
+Fri Jul 10 13:29:53 1998 Tim Janik <timj@gtk.org>
+
+ * gtk/gtkcontainer.c:
+ (gtk_container_arg_get):
+ (gtk_container_arg_set):
+ * gtk/gtkobject.c:
+ (gtk_object_arg_set):
+ (gtk_object_arg_get):
+ strictly check for the associated get/set arg functions. if an
+ arg is readable or writable, the associated class functions *must*
+ be provided.
+
Fri Jul 10 09:37:50 1998 Tim Janik <timj@gtk.org>
* gtk/gtkaccellabel.c (gtk_accel_label_accelerator_width): only take the
+Fri Jul 10 13:29:53 1998 Tim Janik <timj@gtk.org>
+
+ * gtk/gtkcontainer.c:
+ (gtk_container_arg_get):
+ (gtk_container_arg_set):
+ * gtk/gtkobject.c:
+ (gtk_object_arg_set):
+ (gtk_object_arg_get):
+ strictly check for the associated get/set arg functions. if an
+ arg is readable or writable, the associated class functions *must*
+ be provided.
+
Fri Jul 10 09:37:50 1998 Tim Janik <timj@gtk.org>
* gtk/gtkaccellabel.c (gtk_accel_label_accelerator_width): only take the
+Fri Jul 10 13:29:53 1998 Tim Janik <timj@gtk.org>
+
+ * gtk/gtkcontainer.c:
+ (gtk_container_arg_get):
+ (gtk_container_arg_set):
+ * gtk/gtkobject.c:
+ (gtk_object_arg_set):
+ (gtk_object_arg_get):
+ strictly check for the associated get/set arg functions. if an
+ arg is readable or writable, the associated class functions *must*
+ be provided.
+
Fri Jul 10 09:37:50 1998 Tim Janik <timj@gtk.org>
* gtk/gtkaccellabel.c (gtk_accel_label_accelerator_width): only take the
+Fri Jul 10 13:29:53 1998 Tim Janik <timj@gtk.org>
+
+ * gtk/gtkcontainer.c:
+ (gtk_container_arg_get):
+ (gtk_container_arg_set):
+ * gtk/gtkobject.c:
+ (gtk_object_arg_set):
+ (gtk_object_arg_get):
+ strictly check for the associated get/set arg functions. if an
+ arg is readable or writable, the associated class functions *must*
+ be provided.
+
Fri Jul 10 09:37:50 1998 Tim Janik <timj@gtk.org>
* gtk/gtkaccellabel.c (gtk_accel_label_accelerator_width): only take the
+Fri Jul 10 13:29:53 1998 Tim Janik <timj@gtk.org>
+
+ * gtk/gtkcontainer.c:
+ (gtk_container_arg_get):
+ (gtk_container_arg_set):
+ * gtk/gtkobject.c:
+ (gtk_object_arg_set):
+ (gtk_object_arg_get):
+ strictly check for the associated get/set arg functions. if an
+ arg is readable or writable, the associated class functions *must*
+ be provided.
+
Fri Jul 10 09:37:50 1998 Tim Janik <timj@gtk.org>
* gtk/gtkaccellabel.c (gtk_accel_label_accelerator_width): only take the
+Fri Jul 10 13:29:53 1998 Tim Janik <timj@gtk.org>
+
+ * gtk/gtkcontainer.c:
+ (gtk_container_arg_get):
+ (gtk_container_arg_set):
+ * gtk/gtkobject.c:
+ (gtk_object_arg_set):
+ (gtk_object_arg_get):
+ strictly check for the associated get/set arg functions. if an
+ arg is readable or writable, the associated class functions *must*
+ be provided.
+
Fri Jul 10 09:37:50 1998 Tim Janik <timj@gtk.org>
* gtk/gtkaccellabel.c (gtk_accel_label_accelerator_width): only take the
}
class = gtk_type_class (info->class_type);
- if (class->set_child_arg)
- class->set_child_arg (container, child, arg, info->arg_id);
+ g_assert (class->set_child_arg != NULL);
+ class->set_child_arg (container, child, arg, info->arg_id);
}
void
}
class = gtk_type_class (info->class_type);
- if (class->get_child_arg)
- {
- arg->type = info->type;
- class->get_child_arg (container, child, arg, info->arg_id);
- }
- else
- arg->type = GTK_TYPE_INVALID;
+ g_assert (class->get_child_arg != NULL);
+ arg->type = info->type;
+ class->get_child_arg (container, child, arg, info->arg_id);
}
void
}
oclass = gtk_type_class (info->class_type);
- if (oclass->set_arg)
- oclass->set_arg (object, arg, info->arg_id);
+ g_assert (oclass->set_arg != NULL);
+ oclass->set_arg (object, arg, info->arg_id);
}
void
}
oclass = gtk_type_class (info->class_type);
- if (oclass->get_arg)
- {
- arg->type = info->type;
- oclass->get_arg (object, arg, info->arg_id);
- }
- else
- arg->type = GTK_TYPE_INVALID;
+ g_assert (oclass->get_arg != NULL);
+ arg->type = info->type;
+ oclass->get_arg (object, arg, info->arg_id);
}
void